package net.zigin.nhi.could.waste.rabbitmq.model;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 消息队列
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MessageModel implements Serializable {

    static final long serialVersionUID = 0L;

    /**
     * 医废id/科室id
     */
    private String message;

    /**
     * 预警类型
     */
    private String title;

    /**
     * 消息id 防止重复消费
     */
    private String id;

}
